package com.Transport.Up;

/**
 * Time    : 2023/3/17 11:11
 * Author  : 王摇摆
 * FileName: Orange.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

/**
 * 此实例用来实现向下转型
 */
public class Orange extends Fruit {
    @Override
    public void show() {
        System.out.println("this is an orange");

    }

    public void test() {
        System.out.println("i am an orange.");
    }
}
